<%-- 
    Document   : editworkProject
    Created on : Jul 28, 2012, 10:42:22 AM
    Author     : VANANH
--%>


<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="../css/kapiform.css"/> 
        <script type="text/javascript" language="javascript" src="../scripts/jQuery/jq.date.js"></script>  
        <link rel="stylesheet" type="text/css" href="../css/ui.datepicker.css"/>
    </head>

    <style type="text/css">
        #ui-datepicker-div
        {
            z-index: 9999999;
        }
        html{visible : true}


    </style>
    <script type="text/javascript">
        var open_cur = 0;
        $j = jQuery.noConflict();
        $j(document).ready(function(){    
            $j('input#leavedate1,input#leavedate2').datepicker({ dateFormat: 'dd/mm/yy', showOn: 'button', buttonImage: '../images/calenda_icon.gif', buttonImageOnly: true }); 
            $j('input#leavedate3,input#leavedate4').datepicker({ dateFormat: 'dd/mm/yy', showOn: 'button', buttonImage: '../images/calenda_icon.gif', buttonImageOnly: true }); 
            
        });
    </script>
    <style type="text/css">
        .bg_department{
            height: 68 !important;
        }

        .feild_sex tr td {
            float:left !important;
            width: 80px !important; 
            height: 20px;

        }
        .feild_sex tr td label {
            text-align: center !important;
            width: 88px !important; 
            color: black;
            margin-top: 20px;
            font-size: 12px;
            margin-left: -55px;
        }
        .feild_sex tr td input[type="radio"]{
            float:left !important;

        }
        .ui-datepicker-trigger1{
            cursor: pointer;
            position: absolute;
        }
        .itemimg{
            float:left;
            margin-top: -5px;
            width: 50%;

        }
        .field_normal{            
            width:100%; 
        }
        .field_pink{
            background-color: #D1E1F1; 

        }
        .lbl_editWork{
            float: left !important;
            width: 115px !important;
            /*  text-align:right !important;
              
              width: 95px !important;
              padding-top: 10px!important;
              padding-bottom: 0px; */

        }

        .date_editWork{
            width: 250px;
            float: left;
            margin-top: 8px;
        }
        img.ui-datepicker-trigger{
            margin-top: 3px !important;
        }
        .priority_work{
            width:370px;

            float:left;
            color: black;
        }
        .div_null{
            width: 290px;
            height: 20px;
            float: left;
        }

        .demo_fieldset {
            border: 1px solid #ACBECE;
            margin: 10px;
        }
        .a{
            display: none;
            position: absolute;
            z-index: 99999;
        }
    </style>
    <f:view>
        <a4j:form id="form-input-customer" >
            <h:inputHidden value="#{TourBean.pv500}"></h:inputHidden>
            <body style=" float:left; width:auto; height:auto; margin:0px;">
                <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>
                <div class="popup" style="height:220px; width:630px">
                    <div class="popup-header">
                        <div class="title"><h:outputText value="CẬP NHẬT CHIẾT TÍNH"/></div>
                    </div>
                    <div class="popup-content">
                        <div class="main_content">
                            <div class="form_item_content" style="margin-top:15px; margin-left: 0px;margin-bottom: 10px;" >
                                <div class="item_content" style="display:block">
                                    <fieldset class="demo_fieldset" style="float: left; padding-bottom: 15px;">
                                        <legend style="font-weight: bold;color: #5537FF;font-size: 10px;">THÔNG TIN NƠI KHỞI HÀNH</legend>
                                            <div class="fields_input" style="width: 50%;float: left;">
                                                <label class="lbl_editWork"><h:outputText value="Dịch vụ:"/> <span>: </span></label>
                                                <h:selectOneMenu value="#{TourBean.fv200}">
                                                    <f:selectItems value="#{TourBean.cbxFV200}"></f:selectItems>
                                                </h:selectOneMenu>

                                            </div>
                                            <div class="fields_input" style="width: 50%;float: left;">
                                                <label class="lbl_editWork" style="width:104px !important"><h:outputText value="Giá dịch vụ"/> <span>: </span></label>
                                                <h:inputText value="#{TourBean.VN508}" styleClass="required" style="margin-left:1px;text-align: right;" >
                                                    <f:convertNumber pattern="#,###,###,###"></f:convertNumber>
                                                </h:inputText>
                                            </div>
                                            
                                            <div class="fields_input" style="width: 50%;float: left;">
                                                <label class="lbl_editWork" style="width:104px !important"><h:outputText value="VAT dịch vụ"/> <span>: </span></label>
                                                <h:inputText value="#{TourBean.VN509}" styleClass="required" style="margin-left:1px;text-align: right;">
                                                    <f:convertNumber pattern="#,###,###,###"></f:convertNumber>
                                                </h:inputText>
                                            </div>                                                                                                
                                    </fieldset>

                                  
                                </div>
                            </div>
                            <div class="popup-footer">      
                                <div class="buttonsave" onclick="parent.jQuery.fancybox.close(); " style="margin-right:10px;"  ><span><h:outputText value="#{locale.button_close}"/></span></div>
                                <h:commandButton   action="#{TourBean.UpdateV500}" value="#{locale.button_save}" styleClass="buttonsave">
                                </h:commandButton>                        
                            </div>

                        </div>    
                    </div>
                </div>
            </body>
        </a4j:form>
    </f:view>
</html>
<script type="text/javascript">
    $j(document).ready(function(){
        yhight = ($j('.popup').height()-90)+"px" ;
        $j('.main_content').css('height',yhight );
        $j('.popup-content').css('height',yhight );
    });
</script>

